package cn.sxt.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author  Mxb
 * @date  2020/5/19 15:46
 * @version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "bill_type")
public class BillType implements Serializable {
    private static final long serialVersionUID = 6671;

    /**
     * 类别id
     */
    @TableId(value = "id", type = IdType.INPUT)
    private Integer id;

    /**
     * 类别名称
     */
    @TableField(value = "name")
    private String name;
}